from django.conf.urls import url

from goods import views

urlpatterns = [

    # url(路径, 视图)
    url(r'^goods/recommend/$', views.Recommended_goods.as_view()),
    url(r'^goods/category/$', views.Caregory_goods.as_view()),
    url(r'^goods/$', views.GoodsList.as_view()),
    url(r'^category/(?P<pk>\d+)/$', views.Goodscategory.as_view()),
    url(r'^goods/(?P<goods_id>\d+)/$', views.GoodsDetil.as_view()),

]
